﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="addwd.aspx.cs" Inherits="weba.addwd" %>

<%@ Register Assembly="C1.Web.Wijmo.Controls.4, Version=4.0.20133.145, Culture=neutral, PublicKeyToken=9b75583953471eea" Namespace="C1.Web.Wijmo.Controls.C1ComboBox" TagPrefix="wijmo" %>

<%@ Register Assembly="C1.Web.Wijmo.Controls.4, Version=4.0.20133.145, Culture=neutral, PublicKeyToken=9b75583953471eea" Namespace="C1.Web.Wijmo.Controls.C1Input" TagPrefix="wijmo" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
   <div>
    名称：<wijmo:C1InputText ID="name" runat="server"></wijmo:C1InputText>
        <br />
        地址：<wijmo:C1InputText ID="dizhi" runat="server"></wijmo:C1InputText>
        <br />
        介绍：<wijmo:C1InputText ID="jiesao" runat="server" Height="200px" MultiLine="True" Width="200px"></wijmo:C1InputText>
               <br />
         图片：<asp:FileUpload ID="FileUpload1" runat="server" />
                <br />
        
        电话：<wijmo:C1InputText ID="dianh" runat="server" Width="200px"></wijmo:C1InputText>
                        <br />
       所属类别：<wijmo:C1ComboBox ID="C1ComboBox1" runat="server" DataSourceID="LinqDataSource1" DataTextField="name" DataValueField="Id" Width="160px"></wijmo:C1ComboBox>
       <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="weba.sjklqDataContext" EntityTypeName="" Select="new (Id, name)" TableName="dituwz">
       </asp:LinqDataSource><br />
      &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;   <asp:Button ID="Button1" runat="server" Text="提交" OnClick="Button1_Click" />
              <br />
    </div>
    </form>
</body>
</html>
